import request from '@/utils/request';

// 课程模板列表
export const courseTemplateList = params => request({
    url: '/course/template/list',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 课程模板新增
export const courseTemplateLAdd = params => request({
    url: '/course/template/add',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 课程模板修改
export const courseTemplateLUpdate = params => request({
    url: '/course/template/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 课程模板状态修改
export const courseTemplateLStatus = params => request({
    url: '/course/template/status/update',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 课程模板删除
export const courseTemplateLDelete = params => request({
    url: '/course/template/del',
    method: 'POST',
    data: params
}).then(res => {
    return res;
});
// 课程模板详情
export const courseTemplateLDetail = params => request({
    url: '/course/template/get',
    method: 'GET',
    params
});
